Fixed getDuration