ida bugfixes and thingies