Fixing some bracket erros