small plotting bug