fix test suit crashing