fixed bug in point_plot change dir