From what I understood here, we need to remove the leading "/", which is what the code below does.