replace namespace with policy