fixed a bug with brackets..