- fixed warnings in ios6