typo in plot function.