Change wrong type of input type