fixed spacing on some functions