fixed code text direction