remove a change i made to graphics detection