fix :maybe-class validate error handling