clean up option on the gateway