delete previous psmf if exists.