Fixed crash bug with observing resume.name change