made it so that empty names cant be added