fixed regex for error log