Added active field to gateway model #6272