adding bad images restrictions