An adaptive method to focusing in unknown scenario