fix module paths and an asston of compile warnings