fixed path endings and some formatting fixes