override some python attrs for 2.7
fixed default template values