fixed bug, added getCurrentRequest