fix max param types, braces