added some error templates