cleans data for production