wp-insert bugfix