'isset' not allowed in if statement