Boolean type guessing added

Boolean type guessing added

fix