Fixed some -Wsizeof-pointer-memaccess error
hopefully everything cleaned up now
for dt.img
...
last cleans for init