fix input positions