Bug in mybool returned true when false