put resource also in namespace