fix print and docs