change input format