support removing gallery