Fixed bug in make_right_justified method