Fix code in timeline