fixed some stuff for igor