Fixed the editing of WP