error caused by non existing method prints fixed