Fix shakeHardDuration (typo).