fix small bug with brackets