Fixing the legends.