fix for wp