shorter way to remove backslash
initialize path