Fixed bug with stub structure.