[fix] proper function for * routes