change NoAdapter to enum