enable wp, fix an issue with the error message