change the format of mac addres from dash to colon
fix some templates problems