clean up old environments in cgi