Fix some issues with domb mod