bug fixes for crosswiki core