make sure func key dao returns a model