Corrected some labels and references