fix router extensions