fix bug in run comands