fix module loading order for examples