remove legacy config loading