Trailing slash

Addeed trailing slash fix should fix# 22