fix warnings caused by signature changes from beta1 to beta2