slight fix to wp managemnet