improve search feature and bar action