Fixed how pics are added