set in/out to lowercase