replace center part with reference image gate and door