correctly marking dynamic route as active