fix module home directory