Removing variable not set notice