fixed timer error