Remove Unused var gateway