fix issue with periodic_timer not initialized