fixed http return code
inject loaction and set correct route