Fixed gateway initialization issue
clean up
just fixing logging
Works fine for simple calls