correcting code mistake of previous commit