Fixed issues of nest dao methods