Fixed bad input type.