remove pry from deploy; fix the bug of search