Bugfix for HTTP call