[fix] switches statement to prevent github hiding it.