remove duplicate opening