improve block template