correcting timing