[ADD] nan_account_extension: several bugs fixes