added missing wp_folder var