fixed a (badly understood :( ) bug related to nested promises in access requests handling