fixed reset origin.