fixed one bug for manipulation.