better scaling and correct deviation display