Minor code change

ugly code mistake removed