Fix isset bug