fix route buildprofile