remove stuff we don't need for the public site