fix gateway warning