fixed overrelease of ivar