fixed warnings, iOS8 deployment target