fix broken stuff from dmd update