fixed config bug in frontend