fixed issue with wordpress 3.9