hopefully fix bugs in iESS with SP