fixed promotion action to differentiate between string and number inputts