fix for wp 4.0