bugfix in ldmia