fix pieces/doctrine