fix passing call to structure