remove windows line endings, clean up module