not sure this assign to null is needed