Try to open and close more properly