fixed lds bug
fixed lds bug