arc, warnings fixes