fix a bug about wordpress plugin