fixing plots