trying fix to dtdx1d again