remove the php notice: undefined index