fix run method