fixed opening and closing