imporved at_plotcelltraj and various bug fix