null checks
fix cpu string lengths