remove temporary variables