fix bug,time tick bug