fix typo
add separate thread for pepper plugin