try to prevent template error