Fixes for http access