fix class/struct mismatch warning