fixed making requests bug