strip navbar code