fixed bug of undefined in searchban

im now done for a week