fixing the simple search