removed legacy config code