fix api request handling and revbump