correct box of legend