[bug] Fixed bug when no trailing /