fixed unnecessary lines