use context replace the handler