fix overflow area handling