set errors in game