Small closing bug