added clear.tm (clear a variable)
fixed little bug in move