more debug in api.settings