adapt to my config