fixed closing glitch - error on last commit