Fix base dao