really bad quick fix to stop production crashes