Fix http calls