Fixed brackets bug