Bug fix to IDSMAIN