fixed bg check