Fixed build warning and countdown working