Add little legend on vms, and fix config
bug legend