Removed un-needed code that was crashing iOS7