Call release on ivars in dealloc
Add checks