wp prefix bug fix (not complete)