dirty hack to fix k-point parallelization