remove leading slash from layout path