remove non used closing bracket