fixed rerouting path on purchase controller