removed datetime usage and fixed a race condition with the game components