Bug fixed on StateStack::popRequest() function