fixed a problem with color depth for daitss.