fixed plotting bug in root 6