Fixing undefined prefix error on route groups