remove unused code and update info.plist