correct return bool value