made amcat.dtm.create more foolproof