Any way to smoothen the path using move_base?

Hi,

I’m using the move_base file to navigate autonomously and the robot reaches to the destination without colliding into any obstacles, the GlobalPath on rviz shows a smooth path the robot is supposed to take which it does but the problem is that it takes it in a zig zag motion which isn’t useful in my project.

Is there any way to smoothen the path the robot takes?

Thanks