fix overlapping plots