fixing last producing issues