AP: add debug output when cropping