fix footer and message display on search