fixed parenthesis in mode_code defs

Fixed the parenthesis in the mode_code definitions