fix comand click bug