fixed struct mismatch