fix template so that it works with natbib