How to handle such kind of tax templates errors