fixed bug when dao returns null result list