fix media item duration in seconds