Fixed #90 region at EOF crash