trying to fix code in post