fixed incorrect variable used for 'admin' directory when loading from config file