removing static ref.