fix bugs in resource work and citation forms