try to fix nth-of-child bug in ios8