fixes autoload problem. Should be place into singleton when loading
config.