fixed issue with productions getting reversed