Correction of the problem of length of activities