properly detect gostatic