Fix build error and disable timer 2