fix scan button