Fix gatewaydev option