fix test bed from debugging