bug fixed
Legends added