minor fixes in main.kevs templates