Fixed bug with empty request