fixed crash, when styles are empty