some changes for nat