fix diskUsagePlugin bugs that are related with type cast