fixing the legend frame options
bugfix - got rid of the old code that came back