dynamic route fix