corrected pg for production error