Removed pragma pack, fixed char not having and ending for debugging purpose.