fix timer call and demo