Fix right aligned text

This is for issue #34