fix for wordpress 3.9.1