Fix errors in gallery view