fixed bug where certain sentences were 'undefined' because i'm good at ranges