fix isset() issue