added check for conversion specifier type restriction