optimizing some configurator stuff