some fixes to legends
made legend a partial.. duh