fix xml crop matrix