fixed issue if name does not exist