fix nway_plotting