Fix input type and position