added missing args in WP