fixes bugs with dns usage and plugin methods when no plugins are defined