fix bar fieldnames error