fixed bug, now resources can be in a namespace