fix bug even though no test for it yet