fixing shift categories