some bugfix in spack