fixed release bug for non-arc projects