fixes to wordpress plugin