handle older OSes

story: https://www.pivotaltracker.com/n/projects/994164/stories/83517510
Missing square brackets