forms search works, encounters not

cant find the bug