Bug fixes in latest simex additions