fix bug: add class list to p under wdeng when changing to list