fix bug if no images added when posting ads