fixed: quell warning

incrementing a bool is deprecated