Further fix #5

Further fix #5 - set text to nil when out of range