get rid of xpm