Revert "Changed lowercase state x to X."

This reverts commit 1376df306eca5c6f352cdbcc9f6cfb4a2bd5e246.