Replaced isset with empty