repaired layout of plot