fixed the format blotter method and a couple other bugs