fixed string comparisons

working on deleting item