update for WP 3.8
some fix