bug fixes for align left right center
bug fixes for align left right center