fix some dim statements as DAO, varDebug for output of properties