fixes contact layout when some data is blank