Fixed CPU code