Remove unneeded spaces from Problem template