fix ldc for integers