fix two symmetric bugs