added focus for error