Bug fix in format