fix ios6 style bug