minor bug fixes (support wordpres version 3.9)