changed custom error template