post.cgi cleanup