fixed redundant logic