silly assertion bug fix