adding error for no name