clean VM class