fix lining problem