code review change

small fix to nonsensical part of the program