add attraccessible to gateway file