dirty mapper should write inverse correctly