fixed minor inequality issue