change input data to lowercase