fix refresh posts and semicolons