fixed lowercase duid/mac/id from database