fix warnings regarding print and autoplot S3 functions