fix silly bug in previous