Fixed up the problems with some of the references