[TASK][FEATURE] Fix error in reame and make dmi return negative value when tp=='-'