fix for https://www.pivotaltracker.com/story/show/56177304