Rename state to lowercase.