fixed an issue where an extra / was being added after