Fixed isset to proper location