fix standard error