USE THE FUCKING VARIABLE FLAG_ERROR