use caption tag instead of legend one