fix deserialization of patch properties in the check. go fmt