fix run errors