initialize n_class to avoid parsing error?