last before move is from 0 and not from -1, bugfix