fix bug on run