cleaned up wpslogging