Fixed http handler for release mode.