Fixed bug with leading slashes in obj name