fix require path issue. fix misnaming inside lib