Modified sometings related to 'mesh_set_gate'