tiny tweaks to gatewayd