loss and mvc need to be fixed