Missing reset variable to null in previous commit