clean strings before using for blocking key