fixed a problem in spreadsheet and adapted further for rcParams