Fixed nasty ssa bug