minor bugfix

logic fix with adding new pictures...