Fixed bug in requests controller