fix bug

- fix failure if Resource has no label