bug fixed on pictures adding