disable ugly template warning message