fix minimum issue, and upper case