Allow for name to be empty

this might have caused errors.