clear base template