[fix] gallery api refer bug fix