Bug fix in engine class for 'config' method