Fix problems with bibliography