Fixed some refferences