[FIX] fixed starred issue with boolean check