int search fix

perfected the searching