fix structs module resolve