removed unused ref