ref #3, remove unnecessary lines