fixing redirect in uploadfile route
not sure problem...