remove extra null assignment