minor bug fix with text not aligned