fixing resoBasedBin plots