fixed important CoM error