fixed issue that some objects are stored