add orbit line and modify memory leak