check input parameters are single characters