fixed input null retrieval key or email
closed #3