makes this 1.8.7 compatible
Merge pull request #2 from ablemike/develop

makes this 1.8.7 compatible