cleaning up some things in frequency chart