fixes #19
fix but with the id method
strip whitespace, and add linting