Fix pillow bug