exclude null check for adapter