add auto resolution setter