remove extra ]