--Some vital bugfixes to support long dimension names