posts code fix