bug fix on super structs resolution