inline reorder bug fixed