always remove / from path.

Signed-off-by: crynobone <crynobone@gmail.com>