remove useless assignment to $cur