fix when space is on either side
improve offset checking
Release 0.1.0