fix for bad template