Add input check about int/string