fixed small bug AubreyR noticed on github