added method swizz class
fixed crash on ios8