fixed scanner render bug