fixed struct snippet