fixed webhandler to be able to launch with key