fixes for extra parameters to geometries, in particular textuers