fixed ending forward slash bug