Wrong parameter type to input filtering