improve the whitespace check by trimming
release 0.1.5