Fixed bug with run