fix key errors when retrying user pillow errors