fixed bug in requestHandlers