fix timer period