correcting time frames