fix broken profile tests