fixed brakects from bad search/replace