fix right to left issue