change state to &state and fixed the problem
genAll move. loading afterwards and don't know why...