strips namespace in non-dev environments