setting defaults correctly