fixed constructors dao