fixing int search