work around parrot bug