fix #506 input alignment