gateway: remove 2 unneeded asserts