remove warning and transfer to ARC
support 6.0 later only