Fixed new piece handler