made some fixes to project dao