[BUG] require config instead of gateway
[CHORE] extra line clean up