fix crash when no callback given for requestStructure