create nicer template, replace more placeholder, replace None with empty string