Adding empty variables to remove variable undefined notice