removing the nulls from DAO