fix for structures