fixed reference errors on function signature changes