fixed search so that markers do not dissapoear