Fixed tab spacing on createChainFunction