Change DalAbstract and fix the static issues