Added guards on intializing event