correcting stupid bug