Improved snippet fmt