fix ARC errors