modify error pettern