Depend on active field in gateway model #6272