fixed structure mismatch error