Basic error checking on finalize