remove navigation and event handler