fix #17 @brianr