fixes in connection with transition to sostypp