Fixed bugs regarding check8