fixed issue with bad routes when adding prefix