isset bug fix