fixes bug that will cause an infinate config loading loop