Fix error parsing dt value from unexpected element