added missing and removed invalid require_once