fix call to states calculator in remote mode