small fix for moved function and some minor mods to facets module