check whether message has parameters before trying to convert them