removes stray forward slash