little fixes for wp 3.6.1