fixed viscount modification on QUIT events