facets are flat-mapped
fixed an issue with random id