Bug fixing on api_requests controller