bugfix for broken phots collection view