printing fixes (works now)