improve compatibility with additional route hook overrides