amend: updated dp2fetchandput.added more checks for prefix

Change-Id: Ic629671259cc6b5169fb10cc3a49f72c53dfa0fc