Prevent empty key to be sent