remove useless brackets