printing was erroring