Fix splits and spms.