Fixed issue with invalid reference count