change url struct to /unit/bla/idx