fix for the duration