fixed timer null exception.