Fixing format errors