detection of the writting postion seems working
fix merge