fixed the matrix print and string alignmnet display