fix new candidate function, render last position always