Same as above. Please wrap these two lines with ``if (previous) {}``.