added checks for ready state in zcalls