last fix for expanding friend search input logic