removed trailing slash from source dir