Fixed submit Search bug