fix prompt when removing pictures