fixed for WP 3.5