fixed pg error. don't even need database