Fixing sql post