fix invalid paragraph style