fixed bug in run3