fix scan and hlint errors