fix formatter for cases where no short code has been setup