fixed quote "close" returning None