fix bug with eye checkbox