fixed ligin error