index: fix input alignment