trying to fix compiler weirdness