fix to duration formating