move internal route trick to widget