bug fix & scan bar