try to center input