fixed reference to old function