correct namespace in mainhandler