adapt to IDM settings