Removed unneeded null variable assigning