Fix silly mistake in formatting functions

Oops! @deadfoxygrandpa