hopefully fixed pg production error