restore border when no templates are found