fixed act_as_document migration