* handle meshes without subdomains correctly
* fix SP4