fix paragraph space bug