fix incorrect console messages related to enabling assertions