fixed upper/lowercase problem when setting textalign