Remove wrong null assignment