fix for spec that occassionally breaks due to timing