corrected method attribute for open_document