routes and groups controller fix