some scanning corrections