fixing base template