data type correction on commands hash