fixed LWRP impl in agent cookbook