fixed variable typo
fixed retun value of run() method