updated code that used deprecated methods
XCode 5 complained about this line and commenting it out was the easiest thing to do