fix a bug in featured galleries setting