fix bugs of .run