fixed scaldi integration problems