removed null derefenrcing