correct refresh bug of prattle