fixes ldf