Custom templates and FF fix