fix 7-case code