Fixing possible memory leak when ARC is used