fixes the moves content generator and diagram