only border when error