fixed pupil detection