BugFix fo GenericDao -> TdGateway by tolower Function