check argument whether it's numeric