format error better