Debugged and fixed real call to service gateway