fix input layout