fix module type preview