Fixed null moves array issue