fix less/css errors and base template