fixed gateway bug;
update;