fix some lint warnings, fixes #100