delete menu & content, fix some variable