style, bug-fixes: checkbox select, misplaced brace