Fix mass assignment