Removed null reference