fixing request functionalities