text font-size bug fix and path alignment bug fix