fixed the input type