fixed liningcheck