fixed bug with run correct files