fixed copy, production compile