fix draw lines and accents problems