fix bug of choose default gallary