correcting my mistake