modify httpHandler