Fixed app config access and table name