fixing related tab