Fixed an issue with the WP documens