updated code to prevent abc input in num inputs