Bug fix with routing for the back end, offset was not limited