fixed timer-task initialization