nimit fix, pre foundation gem