cleanup on select Mode