have better error for failure applying action