fixed bug that caused 2 slashes to happend