Bug fix for http-options