Fix deleted function