fixing WP core files