Fixed missing </legend>