Remove pieces global variable