removed trailing slash, causing problems in windows