removed extra pg
finally found the fucking error